<?php
session_start();
if(isset($_SESSION['user_name'])){
    $_SESSION = array();
    if(isset($_COOKIE[session_name()])){
        setcookie(session_name(), '', time() - 3600);
    }
    session_destroy();
}
header('Location: http://localhost:8888/PHP3/signIn.php');
?>